<pre><?
$pos = strpos ($_GET['url'], 'galacentre.ru');
if ($pos == FALSE) {
	die (__LINE__);
}

$file_handler = fopen ($_GET['url'], 'r');
$content = '';
while ($part = fread ($file_handler,4096)) {
	$content .= $part;
}
//preg_match_all('@/Ftp/images/[A-Za-z0-9]*\.[A-Za-z0-9]{3}|/Ftp/full/_sert/[A-Za-z0-9]*\.[A-Za-z0-9]{3}@', $content, $matches);
preg_match_all('@/Ftp/images/[A-Za-z0-9]*\.[A-Za-z0-9]{3}|/Ftp/full/_sert/[A-Za-z0-9\.\(\)]*\.[A-Za-z0-9]{3}@', $content, $matches);
//print_r ($matches);
	foreach ($matches['0'] as $item) {
		if (strlen($item) > 5) {
			echo 'galacentre.ru' . '' . $item . '_,,,_';
		}
	}

//echo $content;
/*<div class="main_image">
                
                <img src="/Ftp/images/41DQRAD.jpg" alt="NEW GALAXY Держатель сотового телефона двойной">
                
            </div>
*/
?>